.toast {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    background-color: #333;
    color: white;
    padding: 1rem;
    border-radius: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s;
  }
   
  .toast.visible {
    opacity: 1;
  }